package com.rfid.transport;

public class Frame_hdr {
    private byte SOF = 0;
    private byte addr = 0;
    private char command = '\000';
    private byte len = 0;
    private byte status = 0;

    public byte getAddr() {
        return this.addr;
    }

    public char getCommand() {
        return this.command;
    }

    public int getLen() {
        if (this.len < 0) return this.len + 256;
        return this.len;
    }

    public byte getSOF() {
        return this.SOF;
    }

    public byte getStatus() {
        return this.status;
    }

    public void setAddr(byte paramByte) {
        this.addr = paramByte;
    }

    public void setCommand(char paramChar) {
        this.command = paramChar;
    }

    public void setLen(byte paramByte) {
        this.len = paramByte;
    }

    public void setSOF(byte paramByte) {
        this.SOF = paramByte;
    }

    public void setStatus(byte paramByte) {
        this.status = paramByte;
    }
}
